package com.jtech.together.mvp.presenter;

import android.Manifest;
import android.content.Context;
import android.os.Bundle;

import com.jtech.together.mvp.contract.SplashContract;

/**
 * 起始页
 * Created by wuxubaiyang on 2017/5/10.
 */
public class SplashPresenter implements SplashContract.Presenter {
    private Context context;
    private SplashContract.View view;

    private String[] permissions = {
            Manifest.permission.WRITE_EXTERNAL_STORAGE,
            Manifest.permission.READ_PHONE_STATE,
            Manifest.permission.CAMERA
    };

    public SplashPresenter(Context context, SplashContract.View view, Bundle bundle) {
        this.context = context;
        this.view = view;
    }

    @Override
    public String[] getPermissions() {
        return permissions;
    }
}